//引入请求api
import { navTypeListRequest } from "@/api";

export default {
  //在actions中请求数据，并调用mutations的方法将数据设置给state
  async getCategoryList({ commit }) {
    const result = await navTypeListRequest();
    commit("SET_CATEGORY_LIST_STATE", result);
  },
};
